.login {
  background: url("../../assets/images/login/loginbg.jpg");
  width: 100%;
  height: 100vh;
  min-height: 550px;
  position: relative;

  .login-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .login-con {
    width: 380px;
    height: 436px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -218px;
    margin-left: -190px;
    background: rgba(18, 80, 137, 0.95);
    border-radius: 3px;
    text-align: center;
    padding: 20px 30px;

    img {
      width: 87px;
      height: 76px;
      margin: 10px 0;
    }

    p {
      line-height: 30px;
      color: #ffffff;
      font-size: 16px;
      font-weight: 500;
    }

    form {
      width: 100%;
      height: 84px;
      border-radius: 5px;
      background: #ffffff;
      margin: 40px 0;
      position: relative;
      input {
        height: 50%;
        padding: 0 15px;
        font-size: 16px;

      }
      div.list {
        height: 50%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        line-height: 42px;
        input {
          flex: 1;
          height: 100%;
          border: none;
          padding: 0 0 0 15px;
          background: none;
          color: #6B6B6B;
        }

        i {
          font-size: 32px;
          color: #EAEAEA;
          cursor: pointer;
        }

        .toLogin {
          border: none;
          width: 38px;
          text-align: left;
          background: none;
        }

        .canLogin {
          color: #1D578E;
        }
      }
    }
    .cut-line {
      width: 300px;
      height: 1px;
      background: #8f9ba7;
      display: inline-block;
    }

    a {
      font-size: 14px;
      margin: 20px 0;
      color: #ffffff;
      display: inline-block;
      cursor: pointer;

      &:hover {
        text-decoration: solid;
      }
    }
  }

  .login-footer {
    width: 100%;
    height: 40px;
    line-height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 15px;
    color: #ffffff;
    padding: 0 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .userName {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
  }

  .errors {
    width: 100%;
    position: absolute;
    padding: 0 2px;
    flex-direction: column;
    text-align: left;

    &.userName {
      bottom: 86px;
      border: none;
    }

    &.password {
      margin-top: 3px;
    }

    .errorMsg {
      color: #ff7e03;
      display: block;
      width: 100%;
      height: auto;
      line-height: 15px;
      font-size: 12px;
    }
  }
}
